package com.yqh.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户表实体类
 *
 * @author 阳秋豪
 * @createTime 2024/3/22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class User implements Serializable {
    @Id
    private String userId;
    private String userName;
    private String password;
    private String role;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
}
